package ooday01;

public class CarTest {
    public static void main(String[] args) {
        Car benz = new Car("奔驰","白色",200000);
        benz.start();
        benz.run();
        benz.stop();

        Car bmw = new Car("宝马","黑色",300000);
        bmw.start();
        bmw.run();
        bmw.stop();

        Car xms7 = new Car();
        xms7.brand = "小米";
        xms7.color = "蓝色";
        xms7.price = 200000;
        xms7.run();
        xms7.start();
        xms7.stop();
    }
}
